package com.example.userdome.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

@Data
public class Article {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String title;

    private String content;

    @TableField(exist = false)
    private Integer likeCount;
}
